package biz;

import exception.BizException;
import exception.CheckException;

public class BizContenance extends AbstractBizObject implements Contenance {

	private int id;
	private double quantite;
	private String unite;
	
	public int getId() {
		return id;
	}

	public void setId(int id) {
		this.id = id;
	}

	public double getQuantite() {
		return quantite;
	}

	public void setQuantite(double quantite) {
		this.quantite = quantite;
	}

	public String getUnite() {
		return unite;
	}

	public void setUnite(String unite) {
		this.unite = unite;
	}

	public final void checkMe() {
		try {

		} catch (CheckException e) {
			throw new BizException(e.getMessage());
		}
	}
}